package com.antis.olsl.magic.report.annual.detail;

import com.antis.olsl.base.BasePresenter;
import com.antis.olsl.base.BaseView;
import com.antis.olsl.library.response.GetEmployeeInfoListResp;
import com.antis.olsl.magic.response.GetSalesSummaryResp;

import java.util.List;
import java.util.Map;

public class AnnualDetailContract {

    interface Presenter extends BasePresenter {
        void takeView(AnnualDetailContract.View view);

        void getYearSalesDetails(Map<String, Object> map);

        void getEmployeeInfoList(Map<String, Object> map);
    }

    interface View extends BaseView<Presenter> {
        void getYearSalesDetailsSuccess(GetSalesSummaryResp.ContentBean bean);

        void getYearSalesDetailsFailure(String msg);

        void getYearSalesDetailsEmpty();

        void getEmployeeInfoListSuccess(List<GetEmployeeInfoListResp.ContentBean> list);

        void getEmployeeInfoListFailure(String msg);
    }
}
